import {myRequest} from "../utils/request.js"


// ----------------------------------------------------------分割线---------------------------------------------------------

//藏品列表
export function goodsList(data) {
	return myRequest({
		url: 'goods/goodsList',
		method: "POST",
		data
	})
}
//平台藏品藏品详情
export function goodsInfo(data) {
	return myRequest({
		url: 'goods/goodsInfo',
		method: "POST",
		data
	})
}
//自由市场列表
export function marketGroup(data) {
	return myRequest({
		url: 'goods_rent/marketGroup',
		method: "POST",
		data
	})
}
//平台首发列表
export function hatchGoods(data) {
	return myRequest({
		url: 'goods/hatchGoods',
		method: "POST",
		data
	})
}
//孵化大厅列表
export function hatchMarketGroup(data) {
	return myRequest({
		url: 'goods_rent/hatchMarketGroup',
		method: "POST",
		data
	})
}
//积分坊列表
export function integralMarketGroup(data) {
	return myRequest({
		url: 'currency_rent/marketGroup',
		method: "POST",
		data
	})
}
//积分坊挂单列表
export function integralMarketList(data) {
	return myRequest({
		url: 'currency_rent/marketList',
		method: "POST",
		data
	})
}
//品牌首发孵化藏品详情
export function hatchGoodsInfo(data) {
	return myRequest({
		url: 'goods/hatchGoodsInfo',
		method: "POST",
		data
	})
}
//孵化大厅藏品详情
export function rentHatchGoodsInfo(data) {
	return myRequest({
		url: 'goods_rent/hatchGoodsInfo',
		method: "POST",
		data
	})
}
//自由市场的藏品详情
export function goodsRentInfo(data) {
	return myRequest({
		url: 'goods_rent/goodsInfo',
		method: "POST",
		data
	})
}
//产品详情中当前产品所有的列表
export function marketList(data) {
	return myRequest({
		url: 'goods_rent/marketList',
		method: "POST",
		data
	})
}
//品牌发行方
export function brandAll(data) {
	return myRequest({
		url: 'brand/all',
		method: "POST",
		data:data||{}
	})
}
//品牌分页列表
export function brandList(data) {
	return myRequest({
		url: 'brand/list',
		method: "POST",
		data
	})
}
//品牌岛列表轮播图列表
export function sliderList(data) {
	return myRequest({
		url: 'slider/sliderList',
		method: "POST",
		data:data||{}
	})
}
//品牌发行方详情
export function brandDetails(data) {
	return myRequest({
		url: 'brand/details',
		method: "POST",
		data
	})
}
//品牌岛免责声明
export function agreement(data) {
	return myRequest({
		url: 'agreement/disclaimer',
		method: "POST",
		data:data||{}
	})
}
//关注&取消关注
export function followAct(data) {
	return myRequest({
		url: 'brand/followAct',
		method: "POST",
		data
	})
}
//我的关注列表
export function followList(data) {
	return myRequest({
		url: 'brand/followList',
		method: "POST",
		data:data||{}
	})
}
//查看是否有购买权限
export function secretGoods(data) {
	return myRequest({
		url: 'goods_orders/secretGoods',
		method: "POST",
		data
	})
}
//查看是否有购买权限孵化专区
export function secretHatchGoods(data) {
	return myRequest({
		url: 'goods_orders/secretHatchGoods',
		method: "POST",
		data
	})
}
//平台首发创建订单并支付
export function createOrder(data) {
	return myRequest({
		url: 'goods_orders/createOrder',
		method: "POST",
		data
	})
}
//孵化专区创建订单并支付
export function goodsCreateHatchOrder(data) {
	return myRequest({
		url: 'goods_orders/createHatchOrder',
		method: "POST",
		data
	})
}
//孵化大厅创建订单
export function rentCreateHatchOrder(data) {
	return myRequest({
		url: 'rent_orders/createHatchOrder',
		method: "POST",
		data
	})
}
//自由市场创建订单
export function rentCreateOrder(data) {
	return myRequest({
		url: 'rent_orders/createOrder',
		method: "POST",
		data
	})
}
//自由市场订单支付
export function rentOrdersPay(data) {
	return myRequest({
		url: 'rent_orders/pay',
		method: "POST",
		data
	})
}
//自由市场订单详情
export function rentOrderInfo(data) {
	return myRequest({
		url: 'rent_orders/orderInfo',
		method: "POST",
		data
	})
}
//人脉扩列
export function networkExpansion(data) {
	return myRequest({
		url: 'member/networkExpansion',
		method: "POST",
		data
	})
}
//福和通宝收益列表
export function myBlanceLogList(data) {
	return myRequest({
		url: 'balance_log/myBlanceLogList',
		method: "POST",
		data
	})
}
//FH原石收益列表
export function myRoughlogList(data) {
	return myRequest({
		url: 'rough_log/myRoughlogList',
		method: "POST",
		data
	})
}
//获取转售配置信息
export function resaleConfig(data) {
	return myRequest({
		url: 'member_space/resaleConfig',
		method: "POST",
		data:data||{}
	})
}
//批量出售列表
export function batchGoods(data) {
	return myRequest({
		url: 'member_space/batchGoods',
		method: "POST",
		data
	})
}
//批量转售
export function batchRent(data) {
	return myRequest({
		url: 'member_space/batchRent',
		method: "POST",
		data
	})
}
//品牌权益列表
export function incubationCards(data) {
	return myRequest({
		url: 'goods/incubationCards',
		method: "POST",
		data:data||{}
	})
}
//品牌权益详情
export function brandEquity(data) {
	return myRequest({
		url: 'goods/brandEquity',
		method: "POST",
		data:data||{}
	})
}
//领取品牌权益收益
export function receiveGoodsProfit(data) {
	return myRequest({
		url: 'goods/receiveGoodsProfit',
		method: "POST",
		data:data||{}
	})
}
//品牌权益规则说明
export function brandEquityIntroduction(data) {
	return myRequest({
		url: 'goods/brandEquityIntroduction',
		method: "POST",
		data:data||{}
	})
}
export function propmarketGroup(data) {
	return myRequest({
		url: 'prop_rent/marketGroup',
		method: "POST",
		data
	})
}

export function propInfo(data) {
	return myRequest({
		url: 'prop_rent/propInfo',
		method: "POST",
		data
	})
}

export function propmarketList(data) {
	return myRequest({
		url: 'prop_rent/marketList',
		method: "POST",
		data
	})
}

export function propcreateOrder(data) {
	return myRequest({
		url: 'prop_rent_orders/createOrder',
		method: "POST",
		data
	})
}

export function proporderInfo(data) {
	return myRequest({
		url: 'prop_rent_orders/orderInfo',
		method: "POST",
		data
	})
}

export function proppay(data) {
	return myRequest({
		url: 'prop_rent_orders/pay',
		method: "POST",
		data
	})
}

export function getOrderPayType(data) {
	return myRequest({
		url: 'member/getOrderPayType',
		method: "POST",
		data
	})
}
export function goodsBatch(data) {
	return myRequest({
		url: 'member_space/goodsBatch',
		method: "POST",
		data
	})
}
export function batchRents(data) {
	return myRequest({
		url: 'member_space/batchRent',
		method: "POST",
		data
	})
}
export function integralPay(data) {
	return myRequest({
		url: 'currency_rent_order/buy',
		method: "POST",
		data
	})
}